package com.jwsoft.manager.common.vo.eduAddressTreeOriginal;

import com.bifang.assistant.common.vo.BaseVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * VO
 *
 * @author zhiyuan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class EduAddressTreeOriginalVO extends BaseVO {

    @Schema(name = "addressId", description = "地址id")
    private Long addressId;

    @Schema(name = "areaCode", description = "行政区划编码")
    private String areaCode;

    @Schema(name = "areaName", description = "组织名称")
    private String areaName;

    @Schema(name = "areaType", description = "行政区划类型 ")
    private String areaType;

    @Schema(name = "contact", description = "联系人")
    private String contact;

    @Schema(name = "cellphone", description = "联系人手机")
    private String cellphone;

    @Schema(name = "phone", description = "联系人电话")
    private String phone;

    @Schema(name = "rate", description = "级别")
    private Integer rate;

    @Schema(name = "orderNo", description = "排序号")
    private Integer orderNo;

    @Schema(name = "primarySchool", description = "小学默认学校组织id")
    private String primarySchool;

    @Schema(name = "middleSchool", description = "中学默认学校组织id")
    private String middleSchool;

    @Schema(name = "parentId", description = "上级地址/区域")
    private Long parentId;

    @Schema(name = "searchTerm", description = "检索项，使用#分割")
    private String searchTerm;

    @Schema(name = "isLeafNode", description = "是否叶子节点")
    private Integer isLeafNode;

    @Schema(name = "fullAddress", description = "完整地址信息")
    private String fullAddress;

    @Schema(name = "majorPointer", description = "映射记录指针，对应映射记录主键address_id")
    private Long majorPointer;

    @Schema(name = "isLastNode", description = "是否最后非叶子节点-es数据检索节点")
    private Integer isLastNode;

    @Schema(name = "eduAddressId", description = "edu_address主键")
    private String eduAddressId;
}
